@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.708Z") @Stability(value=Stable) public class CfnHoursOfOperation extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
CfnHoursOfOperation cfnHoursOfOperation = CfnHoursOfOperation.Builder.create(this, "MyCfnHoursOfOperation")
.config(List.of(HoursOfOperationConfigProperty.builder()
.day("day")
.endTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.startTime(HoursOfOperationTimeSliceProperty.builder()
.hours(123)
.minutes(123)
.build())
.build()))
.instanceArn("instanceArn")
.name("name")
.timeZone("timeZone")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnHoursOfOperation.Builder
A fluent builder for
CfnHoursOfOperation. |
static interface |
CfnHoursOfOperation.HoursOfOperationConfigProperty
Example:
|
static interface |
CfnHoursOfOperation.HoursOfOperationTimeSliceProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnHoursOfOperation(software.constructs.Construct scope,
String id,
CfnHoursOfOperationProps props)
Create a new `AWS::Connect::HoursOfOperation`.
|
protected |
CfnHoursOfOperation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnHoursOfOperation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrHoursOfOperationArn() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfig()
`AWS::Connect::HoursOfOperation.Config`.
|
String |
getDescription()
`AWS::Connect::HoursOfOperation.Description`.
|
String |
getInstanceArn()
`AWS::Connect::HoursOfOperation.InstanceArn`.
|
String |
getName()
`AWS::Connect::HoursOfOperation.Name`.
|
TagManager |
getTags()
`AWS::Connect::HoursOfOperation.Tags`.
|
String |
getTimeZone()
`AWS::Connect::HoursOfOperation.TimeZone`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConfig(IResolvable value)
`AWS::Connect::HoursOfOperation.Config`.
|
void |
setConfig(List<Object> value)
`AWS::Connect::HoursOfOperation.Config`.
|
void |
setDescription(String value)
`AWS::Connect::HoursOfOperation.Description`.
|
void |
setInstanceArn(String value)
`AWS::Connect::HoursOfOperation.InstanceArn`.
|
void |
setName(String value)
`AWS::Connect::HoursOfOperation.Name`.
|
void |
setTimeZone(String value)
`AWS::Connect::HoursOfOperation.TimeZone`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnHoursOfOperation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHoursOfOperation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnHoursOfOperation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnHoursOfOperationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrHoursOfOperationArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getConfig()
@Stability(value=Stable)
public void setConfig(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setConfig(@NotNull
List<Object> value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getInstanceArn()
@Stability(value=Stable)
public void setInstanceArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getTimeZone()
@Stability(value=Stable)
public void setTimeZone(@NotNull
String value)
Copyright © 2021. All rights reserved.