@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:49.877Z") public class CfnHoursOfOperation extends CfnResource implements IInspectable
Creates hours of operation.
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
Contains information about the hours of operation.
|
static interface |
CfnHoursOfOperation.HoursOfOperationTimeSliceProperty
The start time or end time for an hours of operation.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnHoursOfOperation(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrHoursOfOperationArn()
The Amazon Resource Name (ARN) for the hours of operation.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getConfig()
Configuration information for the hours of operation.
|
java.lang.String |
getDescription()
The description for the hours of operation.
|
java.lang.String |
getInstanceArn()
The Amazon Resource Name (ARN) for the instance.
|
java.lang.String |
getName()
The name for the hours of operation.
|
TagManager |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getTimeZone()
The time zone for the hours of operation.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setConfig(IResolvable value)
Configuration information for the hours of operation.
|
void |
setConfig(java.util.List<java.lang.Object> value)
Configuration information for the hours of operation.
|
void |
setDescription(java.lang.String value)
The description for the hours of operation.
|
void |
setInstanceArn(java.lang.String value)
The Amazon Resource Name (ARN) for the instance.
|
void |
setName(java.lang.String value)
The name for the hours of operation.
|
void |
setTimeZone(java.lang.String value)
The time zone for the hours of operation.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnHoursOfOperation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHoursOfOperation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnHoursOfOperation(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrHoursOfOperationArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getConfig()
public void setConfig(IResolvable value)
public void setConfig(java.util.List<java.lang.Object> value)
public java.lang.String getInstanceArn()
public void setInstanceArn(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getTimeZone()
public void setTimeZone(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)